<template>
  <div class='specify-detail'>
    <SpecifyHead @cancelPurchase = "cancelPurchase()" @repeatPurchase = "repeatPurchase()"/>
    <SpecifyBody />
  </div>
</template>
<script>
import SpecifyHead from './head.vue'
import SpecifyBody from './body.vue'

import {btnDatas} from './headData.js'
export default {
  components: {SpecifyHead,SpecifyBody},
  name: "",
  data() {
    return {
    };
  },
  methods: {
      cancelPurchase(){
          let id = this.$router.history.current.query.id
          _g.apiPost('consumerCenter/cancleQuotation.do',{id:id}).then(res=> {
          });
      },
      repeatPurchase(){
          let id = this.$router.history.current.query.id
          _g.apiPost('consumerCenter/cancleQuotation.do',{id:id}).then(res=> {
          });
      }

  },
  created() {
  }
};
</script>
<style lang="scss" scoped>
.specify-detail {
}
</style>